package com.clinic.dao;

import com.clinic.entity.Orders;
import com.clinic.vo.OrdersVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Orders)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-12 15:55:19
 */
@Mapper
public interface OrdersDao {



    //查询订单
    List<Orders> findOrderByPid(int pid);

    //添加订单

    int addOrder(OrdersVo ordersVo);



}